dataSource {
	pooled = true
	driverClassName = "org.hsqldb.jdbcDriver"
	username = "sa"
	password = ""
}
hibernate {
    cache.use_second_level_cache=true
    cache.use_query_cache=true
    cache.provider_class='com.opensymphony.oscache.hibernate.OSCacheProvider'
}
// environment specific settings
environments {
	development {
		dataSource {
			dbCreate = "update"
			url="jdbc:postgresql://localhost:5432/DARTdev"
			dialect = org.hibernate.dialect.PostgreSQLDialect
			username = "ids_dev"
			password = "integrity"
			driverClassName = "org.postgresql.Driver"
		}
	}
	test {
		dataSource {
			dbCreate = "update"
			url="jdbc:postgresql://localhost:5432/DART"
			dialect = org.hibernate.dialect.PostgreSQLDialect
			username = "ids_dev"
			password = "integrity"
			driverClassName = "org.postgresql.Driver"
		}
	}
	production {
		dataSource {
			dbCreate = "update"
			url="jdbc:postgresql://localhost:5432/DART"
			dialect = org.hibernate.dialect.PostgreSQLDialect
			username = "ids_dev"
			password = "integrity"
			driverClassName = "org.postgresql.Driver"	
		}
	}
}